package com.handong.handserialprogram.module.tasklist;

import com.handong.handserialprogram.model.entities.MissionEntity;
import com.handong.handserialprogram.module.base.BaseView;

import java.util.List;

/**
 * Created by Administrator on 2016/12/10.
 */

public interface TaskListContract {

    interface View extends BaseView {

        void showTaskList(List<MissionEntity> missionList);

        void showLoadingFail();

        void moveToSearchResult(int position);
    }

    interface Presenter {

        void loadTaskList();

        void queryMissionInList(String newText);

        void refreshMissionList(int index, int type);
    }
}
